<!DOCTYPE html>
<html>
<head>
    

    

    



    <meta charset="utf-8">
    
    
    
    <title>GitLab7.9.2升级到9.4.5最新版本 | Cucy的博客</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="gitlab">
    <meta name="description" content="升级前准备 HOSTS vim /etc/hosts192.168.1.45 dev-office-dev-192.168.1.45.centos65.sanhao.com 192.168.1.45 gitlab.sh.com  在1.45创建数据库 CREATE DATABASE `gitlab`GRANT ALL ON gitlab.* TO gitlab@&amp;apos;%&amp;apos;  IDE">
<meta name="keywords" content="gitlab">
<meta property="og:type" content="article">
<meta property="og:title" content="GitLab7.9.2升级到9.4.5最新版本">
<meta property="og:url" content="http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/index.html">
<meta property="og:site_name" content="Cucy的博客">
<meta property="og:description" content="升级前准备 HOSTS vim /etc/hosts192.168.1.45 dev-office-dev-192.168.1.45.centos65.sanhao.com 192.168.1.45 gitlab.sh.com  在1.45创建数据库 CREATE DATABASE `gitlab`GRANT ALL ON gitlab.* TO gitlab@&amp;apos;%&amp;apos;  IDE">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="http://oui364jtj.bkt.clouddn.com/syncdb.png">
<meta property="og:updated_time" content="2017-09-08T07:02:37.069Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="GitLab7.9.2升级到9.4.5最新版本">
<meta name="twitter:description" content="升级前准备 HOSTS vim /etc/hosts192.168.1.45 dev-office-dev-192.168.1.45.centos65.sanhao.com 192.168.1.45 gitlab.sh.com  在1.45创建数据库 CREATE DATABASE `gitlab`GRANT ALL ON gitlab.* TO gitlab@&amp;apos;%&amp;apos;  IDE">
<meta name="twitter:image" content="http://oui364jtj.bkt.clouddn.com/syncdb.png">
    
        <link rel="alternate" type="application/atom+xml" title="Cucy的博客" href="/atom.xml">
    
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="/css/style.css?v=1.6.13">
    <script>window.lazyScripts=[]</script>

    <!-- custom head -->
    

</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu" class="hide" >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/avatar.png">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">cucy</h5>
          <a href="mailto:292016176@qq.com" title="292016176@qq.com" class="mail">292016176@qq.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                Archives
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                Tags
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/cucy" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">GitLab7.9.2升级到9.4.5最新版本</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header post-header">

    <div class="container fade-scale">
        <h1 class="title">GitLab7.9.2升级到9.4.5最新版本</h1>
        <h5 class="subtitle">
            
                <time datetime="2017-08-24T09:17:02.000Z" itemprop="datePublished" class="page-time">
  2017-08-24
</time>


            
        </h5>
    </div>

    


</header>


<div class="container body-wrap">
    
    <aside class="post-widget">
        <nav class="post-toc-wrap" id="post-toc">
            <h4>TOC</h4>
            <ol class="post-toc"><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#升级前准备"><span class="post-toc-number">1.</span> <span class="post-toc-text">升级前准备</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#备份"><span class="post-toc-number">1.1.</span> <span class="post-toc-text">备份</span></a></li></ol></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#转换成pgsql"><span class="post-toc-number">2.</span> <span class="post-toc-text">转换成pgsql</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#一键安装包"><span class="post-toc-number">3.</span> <span class="post-toc-text">一键安装包</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#还原"><span class="post-toc-number">3.1.</span> <span class="post-toc-text">还原</span></a></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#备份-1"><span class="post-toc-number">3.2.</span> <span class="post-toc-text">备份</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#升级gitlab-ce-7-14-3"><span class="post-toc-number">3.2.1.</span> <span class="post-toc-text">升级gitlab-ce-7.14.3</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#升级-gitlab-ce-9-4-5"><span class="post-toc-number">3.2.2.</span> <span class="post-toc-text">升级 gitlab-ce-9.4.5</span></a></li></ol></li></ol></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#升级后配置"><span class="post-toc-number">4.</span> <span class="post-toc-text">升级后配置</span></a></li><li class="post-toc-item post-toc-level-1"><a class="post-toc-link" href="#配置ldap-邮箱"><span class="post-toc-number">5.</span> <span class="post-toc-text">配置ldap 邮箱</span></a></li></ol>
        </nav>
    </aside>
    
<article id="post-44-GitLab7-9-2升级到9-4-5最新版本"
  class="post-article article-type-post fade" itemprop="blogPost">

    <div class="post-card">
        <h1 class="post-card-title">GitLab7.9.2升级到9.4.5最新版本</h1>
        <div class="post-meta">
            <time class="post-time" title="2017-08-24 17:17:02" datetime="2017-08-24T09:17:02.000Z"  itemprop="datePublished">2017-08-24</time>

            


            
<span id="busuanzi_container_page_pv" title="文章总阅读量" style='display:none'>
    <i class="icon icon-eye icon-pr"></i><span id="busuanzi_value_page_pv"></span>
</span>


        </div>
        <div class="post-content" id="post-content" itemprop="postContent">
            <h1 id="升级前准备"><a href="#升级前准备" class="headerlink" title="升级前准备"></a>升级前准备</h1><ul>
<li><p>HOSTS</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">vim /etc/hosts</div><div class="line">192.168.1.45 dev-office-dev-192.168.1.45.centos65.sanhao.com </div><div class="line">192.168.1.45 gitlab.sh.com</div></pre></td></tr></table></figure>
</li>
<li><p>在1.45创建数据库</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">CREATE DATABASE `gitlab`</div><div class="line">GRANT ALL ON gitlab.* TO gitlab@&apos;%&apos;  IDENTIFIED BY &apos;2GhYCJAFbXPWfXjC&apos;;</div><div class="line">FLUSH PRIVILEGES ;</div><div class="line"># 改连接</div><div class="line">vim /home/git/gitlab/config/database.yml</div><div class="line"> host: &apos;192.168.1.45&apos;</div></pre></td></tr></table></figure>
</li>
<li><p>同步</p>
<p><img src="http://oui364jtj.bkt.clouddn.com/syncdb.png" alt="同步数据库"></p>
</li>
</ul>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line"># 同步数据</div><div class="line">sudo - git </div><div class="line">/home/git</div><div class="line">rsync -avzP . git@192.168.1.45:/home/git</div></pre></td></tr></table></figure>
<ul>
<li><p>清空旧备份</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">cd /home/git/gitlab/tmp/backups &amp;&amp; rm -f *</div></pre></td></tr></table></figure>
</li>
<li><p>清缓存</p>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">su - git </div><div class="line">git$ bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production</div></pre></td></tr></table></figure>
</li>
</ul>
<h2 id="备份"><a href="#备份" class="headerlink" title="备份"></a>备份</h2><figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">#  git 用户完成</div><div class="line">bundle exec rake gitlab:backup:create RAILS_ENV=production</div></pre></td></tr></table></figure>
<h1 id="转换成pgsql"><a href="#转换成pgsql" class="headerlink" title="转换成pgsql"></a><code>转换成pgsql</code></h1><figure class="highlight plain"><table><tr><td class="code"><pre><div class="line"># git 用户完成</div><div class="line">cd /home/git/gitlab </div><div class="line">mkdir -p tmp/backups/postgresql</div><div class="line">mv tmp/backups/TIMESTAMP_gitlab_backup.tar tmp/backups/postgresql/    # 注意文件名 时间戳</div><div class="line">cd tmp/backups/postgresql</div><div class="line"># 导出数据</div><div class="line">mysqldump --compatible=postgresql --default-character-set=utf8 -r gitlabhq_production.mysql -u root gitlab</div><div class="line"></div><div class="line">└─&gt; ls</div><div class="line">1502864668_gitlab_backup.tar  gitlabhq_production.mysql</div><div class="line"></div><div class="line"># 转换脚本</div><div class="line">git clone https://github.com/gitlabhq/mysql-postgresql-converter.git -b gitlab</div><div class="line"></div><div class="line">└─&gt; pwd</div><div class="line">/home/git/gitlab/tmp/backups/postgresql</div><div class="line">mkdir db</div><div class="line"></div><div class="line">/home/git/.pyenv/versions/2.7.13/bin/python  mysql-postgresql-converter/db_converter.py gitlabhq_production.mysql db/database.sql</div><div class="line"></div><div class="line">ed -s db/database.sql &lt; mysql-postgresql-converter/move_drop_indexes.ed</div><div class="line">#### gzip db/database.sql</div><div class="line"># 重新封装备份</div><div class="line">tar rf TIMESTAMP_gitlab_backup.tar db/database.sql # 注意文件名 为时间戳</div><div class="line"></div><div class="line">┌─( git ) - ( dev-office-dev-192.168.1.45.centos65.sanhao.com )- ( /home/git/gitlab/tmp/backups/postgresql )</div><div class="line">└─&gt; tree</div><div class="line">.</div><div class="line">├── 1502864668_gitlab_backup.tar  # 一键安装包使用此备份文件</div><div class="line">├── db</div><div class="line">│   └── database.sql.gz</div><div class="line">├── gitlabhq_production.mysql</div><div class="line">└── mysql-postgresql-converter</div><div class="line">    ├── db_converter.py</div><div class="line">    ├── LICENSE</div><div class="line">    ├── move_drop_indexes.ed</div><div class="line">    └── README.md</div></pre></td></tr></table></figure>
<h1 id="一键安装包"><a href="#一键安装包" class="headerlink" title="一键安装包"></a>一键安装包</h1><p>下载地址<br> <a href="https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.9.2_omnibus-1.el6.x86_64.rpm" target="_blank" rel="external">https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.9.2_omnibus-1.el6.x86_64.rpm</a><br><code>清华大学镜像</code><br><a href="https://mirrors.tuna.tsinghua.edu.cn/help/gitlab-ce/" target="_blank" rel="external">https://mirrors.tuna.tsinghua.edu.cn/help/gitlab-ce/</a><br><code>官方地址</code><br><a href="https://packages.gitlab.com/gitlab/" target="_blank" rel="external">https://packages.gitlab.com/gitlab/</a></p>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">scp zhourudong@192.168.1.51:/tmp/gitpkg/gitlab-7.9.2_omnibus-1.el6.x86_64.rpm .</div><div class="line"># </div><div class="line">yum install gitlab-7.9.2_omnibus-1.el6.x86_64.rpm -y</div></pre></td></tr></table></figure>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">vim /etc/gitlab/gitlab.rb</div><div class="line"># 第四行</div><div class="line">external_url &apos;http:// gitlab.sh.45.com&apos;</div><div class="line"># 找到数据库连接修改</div><div class="line">gitlab_rails[&apos;db_encoding&apos;] = &quot;utf8&quot;</div><div class="line"># 必须退出git用户 否则无法初始化</div><div class="line">gitlab-ctl reconfigure</div></pre></td></tr></table></figure>
<p><code>访问URL进行测试</code></p>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">http://gitlab.sh.com/users/sign_in</div></pre></td></tr></table></figure>
<h2 id="还原"><a href="#还原" class="headerlink" title="还原"></a>还原</h2><figure class="highlight plain"><table><tr><td class="code"><pre><div class="line"># cd /var/opt/gitlab/backups/ &amp;&amp; cp /home/git/gitlab/tmp/backups/postgresql/1502864668_gitlab_backup.tar . # 注意文件名的时间戳</div><div class="line">cd /var/opt/gitlab/backups/ &amp;&amp; cp $(find /home/git/gitlab/tmp/backups/postgresql/ -name &apos;15*&apos;) .</div><div class="line"></div><div class="line">ls /var/opt/gitlab/backups </div><div class="line">1503455703_gitlab_backup.tar</div><div class="line"></div><div class="line">gitlab-rake gitlab:backup:restore BACKUP=1503455703</div><div class="line"></div><div class="line">This will rebuild an authorized_keys file.</div><div class="line">You will lose any data stored in authorized_keys file.</div><div class="line">Do you want to continue (yes/no)? yes # 直接替换key</div></pre></td></tr></table></figure>
<h2 id="备份-1"><a href="#备份-1" class="headerlink" title="备份"></a>备份</h2><p><code>pg版本的备份</code></p>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">cd /var/opt/gitlab/backups &amp;&amp; rm -f 15*</div><div class="line">gitlab-rake gitlab:backup:create</div></pre></td></tr></table></figure>
<h3 id="升级gitlab-ce-7-14-3"><a href="#升级gitlab-ce-7-14-3" class="headerlink" title="升级gitlab-ce-7.14.3"></a>升级gitlab-ce-7.14.3</h3><figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">scp zhourudong@192.168.1.51:/tmp/gitpkg/gitlab-ce-7.14.3-ce.1.el6.x86_64.rpm .</div><div class="line">/opt/gitlab/bin/gitlab-rake cache:clear</div><div class="line"># install </div><div class="line">yum install gitlab-ce-7.14.3-ce.1.el6.x86_64.rpm -y </div><div class="line"></div><div class="line">cd /etc/gitlab  &amp;&amp; rm -f gitlab-secrets.json  &amp;&amp;  gitlab-ctl upgrade </div><div class="line">cd /etc/gitlab  &amp;&amp; rm -f gitlab-secrets.json  &amp;&amp;  gitlab-ctl reconfigure</div></pre></td></tr></table></figure>
<h3 id="升级-gitlab-ce-9-4-5"><a href="#升级-gitlab-ce-9-4-5" class="headerlink" title="升级 gitlab-ce-9.4.5"></a>升级 gitlab-ce-9.4.5</h3><figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">scp zhourudong@192.168.1.51:/tmp/gitpkg/gitlab-ce-9.4.5-ce.0.el6.x86_64.rpm .</div><div class="line">/opt/gitlab/bin/gitlab-rake cache:clear</div><div class="line">yum install gitlab-ce-9.4.5-ce.0.el6.x86_64.rpm -y </div><div class="line">cd /etc/gitlab  &amp;&amp; rm -f gitlab-secrets.json  &amp;&amp;  gitlab-ctl upgrade </div><div class="line">cd /etc/gitlab  &amp;&amp; rm -f gitlab-secrets.json  &amp;&amp;  gitlab-ctl reconfigure</div></pre></td></tr></table></figure>
<h1 id="升级后配置"><a href="#升级后配置" class="headerlink" title="升级后配置"></a>升级后配置</h1><ul>
<li>停止监控<code>prometheus</code> go开发分布式监控系统<br>vim  /etc/gitlab/gitlab.rb<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">prometheus_monitoring[&apos;enable&apos;] = false</div></pre></td></tr></table></figure>
</li>
</ul>
<p>修改配置后都需要重载<br>cd /etc/gitlab  &amp;&amp; rm -f gitlab-secrets.json  &amp;&amp;  gitlab-ctl reconfigure</p>
<ul>
<li>检查是否有致命错误</li>
</ul>
<figure class="highlight plain"><table><tr><td class="code"><pre><div class="line">gitlab-rake gitlab:check</div></pre></td></tr></table></figure>
<ul>
<li>数据存储目录不能使用软链接</li>
</ul>
<h1 id="配置ldap-邮箱"><a href="#配置ldap-邮箱" class="headerlink" title="配置ldap 邮箱"></a>配置ldap 邮箱</h1><p><code>vim /etc/gitlab/gitlab.rb</code></p>

        </div>

        <blockquote class="post-copyright">
    <div class="content">
        
<span class="post-time">
    最后更新时间：<time datetime="2017-09-08T07:02:37.069Z" itemprop="dateUpdated">2017-09-08 15:02:37</time>
</span><br>


        
        <a href="/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/" target="_blank" rel="external">http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/</a>
        
    </div>
    <footer>
        <a href="http://zhourudong.cn">
            <img src="/img/avatar.png" alt="cucy">
            cucy
        </a>
    </footer>
</blockquote>

        
<div class="page-reward">
    <a id="rewardBtn" href="javascript:;" class="page-reward-btn waves-effect waves-circle waves-light">赏</a>
</div>



        <div class="post-footer">
            
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/gitlab/">gitlab</a></li></ul>


            
<div class="page-share-wrap">
    

<div class="page-share" id="pageShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/&title=《GitLab7.9.2升级到9.4.5最新版本》 — Cucy的博客&pic=http://zhourudong.cn/img/avatar.png" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/&title=《GitLab7.9.2升级到9.4.5最新版本》 — Cucy的博客&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《GitLab7.9.2升级到9.4.5最新版本》 — Cucy的博客&url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/&via=http://zhourudong.cn" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>



    <a href="javascript:;" id="shareFab" class="page-share-fab waves-effect waves-circle">
        <i class="icon icon-share-alt icon-lg"></i>
    </a>
</div>



        </div>
    </div>

    
<nav class="post-nav flex-row flex-justify-between">
  
    <div class="waves-block waves-effect prev">
      <a href="/2017/08/24/45-gitlab维护/" id="post-prev" class="post-nav-link">
        <div class="tips"><i class="icon icon-angle-left icon-lg icon-pr"></i> Prev</div>
        <h4 class="title">gitlab维护</h4>
      </a>
    </div>
  

  
    <div class="waves-block waves-effect next">
      <a href="/2017/05/31/38-django-orm/" id="post-next" class="post-nav-link">
        <div class="tips">Next <i class="icon icon-angle-right icon-lg icon-pl"></i></div>
        <h4 class="title">django orm</h4>
      </a>
    </div>
  
</nav>



    














</article>

<div id="reward" class="page-modal reward-lay">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <h3 class="reward-title">
        <i class="icon icon-quote-left"></i>
        谢谢大爷~
        <i class="icon icon-quote-right"></i>
    </h3>
    <div class="reward-content">
        
        <div class="reward-code">
            <img id="rewardCode" src="/img/wechat.jpg" alt="打赏二维码">
        </div>
        
        <label class="reward-toggle">
            <input id="rewardToggle" type="checkbox" class="reward-toggle-check"
                data-wechat="/img/wechat.jpg" data-alipay="/img/alipay.jpg">
            <div class="reward-toggle-ctrol">
                <span class="reward-toggle-item wechat">微信</span>
                <span class="reward-toggle-label"></span>
                <span class="reward-toggle-item alipay">支付宝</span>
            </div>
        </label>
        
    </div>
</div>



</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            
                <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            
            <span>博客内容遵循 <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p><span>cucy &copy; 2016 - 2017</span>
            <span>
                
                Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
            </span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/&title=《GitLab7.9.2升级到9.4.5最新版本》 — Cucy的博客&pic=http://zhourudong.cn/img/avatar.png" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/&title=《GitLab7.9.2升级到9.4.5最新版本》 — Cucy的博客&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《GitLab7.9.2升级到9.4.5最新版本》 — Cucy的博客&url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/&via=http://zhourudong.cn" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="//api.qrserver.com/v1/create-qr-code/?data=http://zhourudong.cn/2017/08/24/44-GitLab7-9-2升级到9-4-5最新版本/" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: true };


</script>

<script src="/js/main.min.js?v=1.6.13"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="/js/search.min.js?v=1.6.13" async></script>






<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>



<script>
(function() {
    var OriginTitile = document.title, titleTime;
    document.addEventListener('visibilitychange', function() {
        if (document.hidden) {
            document.title = '死鬼去哪里了！';
            clearTimeout(titleTime);
        } else {
            document.title = '(つェ⊂)咦!又好了!';
            titleTime = setTimeout(function() {
                document.title = OriginTitile;
            },2000);
        }
    });
})();
</script>



</body>
</html>
